<div class="row">

    <div class="col-md-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><?php echo $this->titulo ?></h3>
            </div>
            <div class="panel-body">
                <p>
                    <?php
                    $form = $this->form;
                    $form->prepare();

                    $form->setAttributes(array(
                        'action' => $this->url . '/application/login/home',
                        'method' => 'post'
                    ));
                    $formLabel = $this->plugin('formLabel');

                    // Render the opening tag
                    echo $this->form()->openTag($form);
                    ?>

                <div class="form_element">
                    Usuario : 
                    <?php
                    $name = $form->get('nombre');
                    echo $this->formInput($name);
                    ?>
                </div>
                <br>
                <div class="form_element">
                    Password  :
                    <?php
                    $pass = $form->get('passwd');
                    echo $this->formInput($pass);
                    ?>
                </div>
		<br>

                <?php echo $this->formElement($form->get('Submit')) ?>

                <?php echo $this->form()->closeTag() ?>

               


                </p>

            </div>
        </div>
    </div>

    <div class="col-md-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><?php echo "Otros" ?></h3>
            </div>
            <div class="panel-body">
		<p>		
		 <?php               
                $form = $this->form;
                $form->prepare();
                $form->setAttributes(array(
                    'action' => $this->url.'/application/redactor/formulario',
                    'method' => 'post'
                ));
                
                $formLabel = $this->plugin('formLabel');
                echo $this->form()->openTag($form);
//                echo $this->formHidden($form->get('id_oculto'));
 //               echo $this->formHidden($form->get('rol_oculto'));
                echo $this->formElement($form->get('entrar_pef'));
                
                echo $this->form()->closeTag(); ?>
		</p><br><br>
                <p><a class="btn btn-primary pull-right" href="<?php echo $this->basePath() ?>/application/login/registrarse" target="_blank">
                        <?php echo $this->translate('Registrarse') ?> &raquo;
                    </a></p>
                    <br><br>
                <p><a class="btn btn-info pull-right" href="<?php echo $this->basePath() ?>/application/login/manual" target="_blank">
                        <?php echo $this->translate('Manual de Ayuda') ?> &raquo;
                    </a></p>
            </div>
        </div>
    </div>
</div>
